
<script lang="ts" setup>

// 定义 props ,同 VarIcon 属性 
defineProps<{
    copytext: string;
    size?: string | number;
}>();

</script>

<template >
    <Icon class="icon-copy-box" name="icon-fuzhiicon1" @click.stop="() => $copyText(copytext)" :size="size"></Icon>
</template>

<style lang="scss" scoped>
// 指定padding值
.icon-copy-box {
    color: $primary;
}
</style>